﻿using System.Collections.Generic;

namespace PerceptiveMCAPI.Types
{
   public partial class generateTextInput : Api_BaseInput
   {
      public generateTextParms parms { get; set; }

      public generateTextInput()
      {
         this.parms = new generateTextParms();
      }

      public generateTextInput( EnumValues.generateText_type type, string content )
      {
         this.parms = new generateTextParms( type, content );
      }

      public generateTextInput( string apikey, EnumValues.generateText_type type, string content )
      {
         this.parms = new generateTextParms( apikey, type, content );
      }

      // force 'template' type
      public generateTextInput( Dictionary<string, string> content )
      {
         this.parms = new generateTextParms( content );
      }

      // force 'template' type
      public generateTextInput( string apikey, Dictionary<string, string> content )
      {
         this.parms = new generateTextParms( apikey, content );
      }
      // ---
      public generateTextInput( generateTextParms parms )
      {
         if ( parms != null )
            this.parms = parms;
         else
            this.parms = new generateTextParms();
      }

   }
}
